package com.wenxixuanwu.fruitstore.mapper;

import com.wenxixuanwu.fruitstore.entity.Banner;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author :小凡凡
 * @version :1.0
 * @Project :fruitstore
 * @Date :2022/5/7
 */
@Mapper
public interface BannerMapper {

    @Select("select id,url from banner limit 0,4")
    List<Banner> findBannerAll();
}
